package models

import "gorm.io/gorm"

type Good struct {
	gorm.Model
	UserId     int `gorm:"type:int(20);not null;comment:'用户Id'"`
	VideoId    int `gorm:"type:int(20);not null;comment:'文章Id 或 评论Id'"`
	GoodUserId int `gorm:"type:int(20);not null;comment:'被点赞的用户Id'"`
	GoodToGood int `gorm:"type:int(20);not null;comment:'1: 文章点赞 2: 评论点赞'"`
}
